class HomeController < ApplicationController
  def index
    @featured_ideas = Idea.featured.limit(3)
  end

  def personalized
    @featured_ideas = Idea.featured.limit(3)
    @recent_ideas = Idea.recent.limit(6)
    @popular = Idea.all.sample(6)
  end

end
